﻿<Window x:Class="SGT.Views.NuevaMercaderiaView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        DataContext="{Binding ABMMercaderias, Source={StaticResource Locator}}" d:DesignHeight="333" d:DesignWidth="434" SizeToContent="WidthAndHeight">

    <Grid>
        <Border BorderBrush="Silver" BorderThickness="1" HorizontalAlignment="Center" Margin="12,12,0,0" Name="border1" VerticalAlignment="Top" Height="247">
            <Grid Name="grid1" Width="291">
                <Grid.RowDefinitions>
                    <RowDefinition Height="58*" />
                    <RowDefinition Height="60*" />
                    <RowDefinition Height="150*" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="134*" />
                    <ColumnDefinition Width="347*" />
                </Grid.ColumnDefinitions>
                <Label Content="Nombre:" Name="lblNombre" Margin="0,0,0,23" />
                <Label Content="Densidad:" Grid.Row="1" Name="lblDensidad" Margin="0,0,0,27" />
                <TextBox Grid.Column="1" Name="textBox1" Text="{Binding Path=MercaderiaNueva.Nombre}" Margin="6,6,6,23" />
                <TextBox Grid.Column="1" Grid.Row="1" Name="textBox2" Text="{Binding Path=MercaderiaNueva.Densidad}" Margin="6,2,6,27" />
                <Button Content="Aceptar" Grid.Column="1" Grid.Row="2" Height="23" HorizontalAlignment="Left" Margin="129,6,0,0" Name="button1" VerticalAlignment="Top" Width="75" Command="{Binding Path=AgregarMercaderia}"/>
                <Button Content="Cancelar" Grid.Column="1" Grid.Row="2" Height="23" HorizontalAlignment="Left" Margin="30,6,0,0" Name="button2" VerticalAlignment="Top" Width="75" />
            </Grid>
        </Border>
    </Grid>
</Window>
